using System;
using System.Collections.Generic;
using System.Text;

namespace BlogClient.Editor.XStandard
{
    class XStandardEditor : IEditor
    {
        XStandardContainer _xsc;

        #region IEditor Members

        public void Load(System.Windows.Forms.Control ctl)
        {
            _xsc = new XStandardContainer();
            _xsc.Dock = System.Windows.Forms.DockStyle.Fill;
            ctl.Controls.Add(_xsc);
        }

        public string Html
        {
            get
            {
                return _xsc.TheEditor.Value;
            }
            set
            {
                _xsc.TheEditor.Value = value;
            }
        }

        #endregion
    }
}
